commons

Undocumented in source.

Public Imports

arsd.terminal
public static import arsd.terminal;
Undocumented in source.
std.json
public import std.json;
Undocumented in source.
std.path
public import std.path;
Undocumented in source.
std.process
public import std.process;
Undocumented in source.
std.file
public static import std.file;
Undocumented in source.
default_handlers
public import default_handlers;
Undocumented in source.
redub.api
public import redub.api;
Undocumented in source.
std.concurrency
public import std.concurrency;
Undocumented in source.

Members

Enums

ChoiceResult
enum ChoiceResult
Undocumented in source.
Compilers
enum Compilers
Undocumented in source.

Functions

addToPath
void addToPath(string pathToAdd)

Adds a path to PATH

cached
void cached(void delegate() dg, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
clearCache
void clearCache()

Clears all cache. This may be useful after a dub.template.json was already generated. Or for example, after changing the current game.

dbgExecuteShell
bool dbgExecuteShell(const(char)[] command, Terminal t, string[string] env)
Undocumented in source. Be warned that the author may not have intended to support it.
downloadFileIfNotExists
bool downloadFileIfNotExists(string purpose, string link, string outputName, Terminal t, RealTimeConsoleInput input)
Undocumented in source. Be warned that the author may not have intended to support it.
downloadWithProgress
size_t downloadWithProgress(string url, string saveToPath, void delegate(float t) onProgress, size_t updateDelay)
Undocumented in source. Be warned that the author may not have intended to support it.
downloadWithProgressBar
size_t downloadWithProgressBar(Terminal t, string url, string saveToPath, size_t updateDelay)

Same as std.net.curl.download Difference is that it shows a progress bar while downloading. Returns the time needed to download.

executableExtension
string executableExtension(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
executeGameRelease
void executeGameRelease(Terminal t)
Undocumented in source. Be warned that the author may not have intended to support it.
extractTarGzToFolder
bool extractTarGzToFolder(string tarGzPath, string outputDirectory, Terminal t)
Undocumented in source. Be warned that the author may not have intended to support it.
extractTarToFolder
bool extractTarToFolder(Terminal t, string tarPath, string outputDirectory)
Undocumented in source. Be warned that the author may not have intended to support it.
extractToFolder
bool extractToFolder(string zPath, string outputDirectory, Terminal t, RealTimeConsoleInput input)
Undocumented in source. Be warned that the author may not have intended to support it.
extractZipToFolder
bool extractZipToFolder(string zipPath, string outputDirectory, Terminal t)
Undocumented in source. Be warned that the author may not have intended to support it.
filesExists
bool filesExists(string basePath, string[] files)
Undocumented in source. Be warned that the author may not have intended to support it.
findProgramPath
string findProgramPath(string program)
Undocumented in source. Be warned that the author may not have intended to support it.
getBackChoice
Choice getBackChoice()
Undocumented in source. Be warned that the author may not have intended to support it.
getBuildTarget
string getBuildTarget(string target)
Undocumented in source. Be warned that the author may not have intended to support it.
getDubPath
string getDubPath()
Undocumented in source. Be warned that the author may not have intended to support it.
getFirstExisting
string getFirstExisting(string basePath, string[] tests)
Undocumented in source. Be warned that the author may not have intended to support it.
getFirstExistingVar
string getFirstExistingVar(string[] vars)
Undocumented in source. Be warned that the author may not have intended to support it.
getGitExec
string getGitExec()
Undocumented in source. Be warned that the author may not have intended to support it.
getHipPath
string getHipPath(string[] paths)
Undocumented in source. Be warned that the author may not have intended to support it.
getProjectsAvailable
string[] getProjectsAvailable()
Undocumented in source. Be warned that the author may not have intended to support it.
getSelectedCompiler
string getSelectedCompiler()
Undocumented in source. Be warned that the author may not have intended to support it.
getSourceCodeEditor
string getSourceCodeEditor(string projectPath)
Undocumented in source. Be warned that the author may not have intended to support it.
getValidPath
string getValidPath(Terminal t, string pathRequired)
Undocumented in source. Be warned that the author may not have intended to support it.
hasLdc
bool hasLdc()
Undocumented in source. Be warned that the author may not have intended to support it.
inParallel
void inParallel(void delegate()[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
installFileTo
bool installFileTo(string purpose, string link, string outputName, string outputDirectory, Terminal t, RealTimeConsoleInput input)
isCompactedFile
bool isCompactedFile(string fileName)
Undocumented in source. Be warned that the author may not have intended to support it.
isIpAddress
bool isIpAddress(string ip)
Undocumented in source. Be warned that the author may not have intended to support it.
isRecognizedExtension
bool isRecognizedExtension(string ext)
Undocumented in source. Be warned that the author may not have intended to support it.
makeFileExecutable
bool makeFileExecutable(string filePath)
Undocumented in source. Be warned that the author may not have intended to support it.
openSourceCodeEditor
bool openSourceCodeEditor(string projectPath)
Undocumented in source. Be warned that the author may not have intended to support it.
outputTemplate
void outputTemplate(Terminal t, string templatePath)
Undocumented in source. Be warned that the author may not have intended to support it.
outputTemplateForTarget
void outputTemplateForTarget(Terminal t, string target)
Undocumented in source. Be warned that the author may not have intended to support it.
pollForExecutionPermission
bool pollForExecutionPermission(Terminal t, RealTimeConsoleInput input, string operation)
Undocumented in source. Be warned that the author may not have intended to support it.
putResourcesIn
void putResourcesIn(Terminal t, string where)
Undocumented in source. Be warned that the author may not have intended to support it.
removeExtension
string removeExtension(string input)

Removes the extension (while keeping numeric extensions such as dmd-2.105.0)

requireConfiguration
void requireConfiguration(string cfgRequired, string purpose, Terminal t, RealTimeConsoleInput input, bool function(ref string inOutData) validation, string validationFailMsg)
Undocumented in source. Be warned that the author may not have intended to support it.
selectChoiceBase
size_t selectChoiceBase(Terminal terminal, RealTimeConsoleInput input, Choice[] choices, string selectionTitle, size_t selectedChoice)
Undocumented in source. Be warned that the author may not have intended to support it.
selectInFolder
string selectInFolder(string selectWhat, string directory, Terminal t, RealTimeConsoleInput input, string[] extFilters)
Undocumented in source. Be warned that the author may not have intended to support it.
selectInFolderExtra
Choice* selectInFolderExtra(string selectWhat, string directory, Terminal t, RealTimeConsoleInput input, Choice[] choices, Choice[] extraChoices, string[] extFilters)

Main difference from selectInFolder is that it returns the choice and also acacepts extra choices.

symlink
void symlink(string original, string link)
timed
auto timed(Terminal t, T val)
Undocumented in source. Be warned that the author may not have intended to support it.
timed
auto timed(Terminal t, string measuringWhat, T val)
Undocumented in source. Be warned that the author may not have intended to support it.
unique
T[] unique(T[] input)
Undocumented in source. Be warned that the author may not have intended to support it.
updateConfigFile
void updateConfigFile()
Undocumented in source. Be warned that the author may not have intended to support it.
updateEngineFile
void updateEngineFile()
Undocumented in source. Be warned that the author may not have intended to support it.
waitAndPrint
int waitAndPrint(Terminal t, Pid pid)
Undocumented in source. Be warned that the author may not have intended to support it.
waitDub
int waitDub(Terminal t, DubArguments dArgs, string copyLinkerFilesTo)
Undocumented in source. Be warned that the author may not have intended to support it.
waitDubTarget
int waitDubTarget(Terminal t, string target, DubArguments dArgs, string copyLinkerFilesTo)
Undocumented in source. Be warned that the author may not have intended to support it.
waitOperations
bool waitOperations(bool delegate()[] operations)
Undocumented in source. Be warned that the author may not have intended to support it.
waitRedub
int waitRedub(Terminal t, DubArguments dArgs, ProjectDetails proj, string copyLinkerFilesTo)
Undocumented in source. Be warned that the author may not have intended to support it.
windowsGetKeyWithPath
Key windowsGetKeyWithPath(string[] path)
Undocumented in source. Be warned that the author may not have intended to support it.
writeTemplate
bool writeTemplate(Terminal t, string projectPath, string enginePath)
Undocumented in source. Be warned that the author may not have intended to support it.
writelnError
void writelnError(Terminal t, string[] what)
Undocumented in source. Be warned that the author may not have intended to support it.
writelnHighlighted
void writelnHighlighted(Terminal t, string[] what)
Undocumented in source. Be warned that the author may not have intended to support it.
writelnSuccess
void writelnSuccess(Terminal t, string[] what)
Undocumented in source. Be warned that the author may not have intended to support it.

Imports

Color (from arsd.terminal)
public import arsd.terminal : Color, ConsoleOutputType, ConsoleInputFlags;
Undocumented in source.
ConsoleInputFlags (from arsd.terminal)
public import arsd.terminal : Color, ConsoleOutputType, ConsoleInputFlags;
Undocumented in source.
ConsoleOutputType (from arsd.terminal)
public import arsd.terminal : Color, ConsoleOutputType, ConsoleInputFlags;
Undocumented in source.
join (from std.array)
public import std.array : join, split;
Undocumented in source.
split (from std.array)
public import std.array : join, split;
Undocumented in source.

Manifest constants

ConfigFile
enum ConfigFile;
Undocumented in source.
hipremeEngineRepo
enum hipremeEngineRepo;
Undocumented in source.

Mixin templates

BuilderPattern
mixintemplate BuilderPattern(Struct)
Undocumented in source.

Structs

Choice
struct Choice
Undocumented in source.
CompilationOptions
struct CompilationOptions
Undocumented in source.
Config
struct Config
Undocumented in source.
DubArguments
struct DubArguments
Undocumented in source.
RealTimeConsoleInput
struct RealTimeConsoleInput
Undocumented in source.
Session
struct Session
Undocumented in source.
Terminal
struct Terminal
Undocumented in source.
TerminalColors
struct TerminalColors
Undocumented in source.
WorkingDir
struct WorkingDir
Undocumented in source.

Variables

compilers
string[] compilers;
Undocumented in source.
configs
Config configs;
Undocumented in source.
engineConfig
JSONValue engineConfig;
Undocumented in source.
pathBeforeNewLdc
string pathBeforeNewLdc;
Undocumented in source.

Meta